To have the same opinion or to approve of something. I agree with your decision to move forward with the project.
To be consistent or in harmony with something. The results of the experiment agree with the initial hypothesis.
To match or correspond in grammatical number, gender, or case. In the sentence, the verb must agree with the subject in number.